package cn.pn.project.client.commodity;


import cn.pn.project.client.commodity.follback.TicketInfoFeignFollback;
import cn.pn.project.pojo.commodity.Ticketinginfo;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
@FeignClient(name="pn-item-provider",fallback = TicketInfoFeignFollback.class)
public interface TicketInfoFeign {
    @RequestMapping(value = "/getTicketInfoByCommodityId", method = RequestMethod.POST)
    Ticketinginfo getTicketInfoByCommodityId(@RequestParam("commodityId") Integer commodityId);
}
